home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
OS2
/
SHWDLL.ARJ
/
README.DOC
< prev
next >
Wrap
Text File
|
1992-06-06
|
2KB
|
40 lines
This utility lists the DLLs that an OS/2 EXE or DLL calls. It is a 32-bit
program so it won't run under OS/2 1.x.
NE, LE, and LX EXE formats are supported (hopefully no more have surfaced
recently <g>).
NOTE: To get the fully qualified file path of each DLL, that DLL has to be
loaded. This causes a side effect because when the DLL is loaded there is
no way to bypass running its initialization routine. I have found this to
be a problem only if a DLL creates a PM thread in its initialization
routine (since showdlls.exe is not a WINDOWAPI program).
Invoking SHOWDLLS without any command-line parameters gets this:
usage: showdlls file-name [/a /d /e /l /t]
/a - Show All Dlls (normally common OS2 System Dlls are suppressed)
/d - Enable Debugging info to the screen
/e - Expand the Dlls that /a displays
/l - List the Dlls suppressed if /a is not used
/t - Tree (For each Dll shown, show its Dlls)
If the file-name given on the command-line is not qualified, SHOWDLLS will
try to fully qualify it by searching the PATH if it is an EXE file or by
using the LIBPATH if it is a DLL. If file-name has no extension, SHOWDLLS
will first append '.exe' to it and search the PATH, then append '.dll' to it
and use LIBPATH to try and find it.
ALSO INCLUDED: dllpath.exe (syntax: dllpath dllname (no extension)) to search
the LIBPATH for a dll and return the fully qualified path.
Any comments, suggestions, bug reports can be sent to my CIS id 72251,750.
Hope this utility proves useful.
Rick Fishman
Code Blazers, Inc.
4113 Apricot
Irvine, CA 92720